-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- Virtual
Total Complexity |
36 |
Dependencies |
5 |
Dependents |
4 |
Total lines |
235 |
Lines of code |
128 |
Logical lines of code |
76 |
Comment lines |
56 |
Methods |
15 |
Properties |
4 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
restoreState() |
A |
48 |
12 |
33 |
calculatePrice() |
S |
55 |
7 |
18 |
getStateToSave() |
S |
55 |
3 |
20 |
setSales() |
S |
68 |
2 |
7 |
setStock() |
S |
68 |
2 |
7 |
__construct() |
S |
72 |
1 |
5 |
getType() |
S |
81 |
1 |
3 |
getPrice() |
S |
79 |
1 |
3 |
getStock() |
S |
82 |
1 |
3 |
getRegularPrice() |
S |
82 |
1 |
3 |
setRegularPrice() |
S |
76 |
1 |
4 |
getSales() |
S |
82 |
1 |
3 |
markAsDirty() |
S |
73 |
1 |
5 |
getState() |
S |
71 |
1 |
6 |
jsonSerialize() |
S |
66 |
1 |
8 |